﻿{% extends "gma/base.html" %}

<!-- CONTENT
  =====================================================================-->

{% block content %}

<div class="page__hd">
    <h1 class="page__title">
        <i class="fa fa-republican weui_grid_icon_fa" style="font-size: 32px"> </i> 主播排行
    </h1>
</div>

<div class="page__bd">
    <div class="weui-cells__title"> 主播列表 </div>
    <div class="weui-cells">
        <a class="weui-cell weui-cell_access" href="{% url 'gma:recommend_caster_list' %}">
            <div class="weui-cell__bd"> <p> <i class="fa fa-user-circle gm_menu_item_icon"></i> 推荐排名 </p> </div>
            <div class="weui-cell__ft">
                {% if recommend_caster_count > 0 %}
                {{ recommend_caster_count }} <i class="fa fa-arrow-alt-circle-up"></i>/{{ total_caster_count }}
                {% else %}
                {{ total_caster_count }}
                {% endif %}
            </div>
        </a>

        <a class="weui-cell weui-cell_access" href="{% url 'gma:free_chat_caster_list' %}">
            <div class="weui-cell__bd"> <p> <i class="fa fa-phone-square gm_menu_item_icon"></i> 开通免费通话功能的主播列表 </p> </div>
            <div class="weui-cell__ft"> {{ total_allow_free_chat_caster_count }} 人</div>
        </a>

        <a class="weui-cell weui-cell_access" href="{% url 'gma:casters_ranking' 1 %}">
            <div class="weui-cell__bd"> <p> <i class="fa fa-frown gm_menu_item_icon"></i> 漏接电话排名 </p> </div>
            <div class="weui-cell__ft">  </div>
        </a>
    </div>

    <div class="weui-cells__title"> 用户列表 </div>
    <div class="weui-cells">
        <a class="weui-cell weui-cell_access" href="{% url 'gma:vip_list' %}">
            <div class="weui-cell__bd"> <p> <i class="fa fa-user-shield gm_menu_item_icon"></i> VIP用户</p> </div>
            <div class="weui-cell__ft"> {{ total_vip_count }} 人</div>
        </a>

        <a class="weui-cell weui-cell_access" href="{% url 'gma:watcher_list' %}">
            <div class="weui-cell__bd"> <p> <i class="fa fa-user gm_menu_item_icon"></i> 普通观众</p> </div>
            <div class="weui-cell__ft"> {{ total_watcher_count }} 人</div>
        </a>

        <a class="weui-cell weui-cell_access" href="{% url 'gma:banned_caster_list' %}">
            <div class="weui-cell__bd"> <p> <i class="fa fa-user-lock gm_menu_item_icon red_color"></i> 冻结用户</p> </div>
            <div class="weui-cell__ft"> {{ total_banned_caster_count }} 人</div>
        </a>
    </div>
</div>

<div class="page__ft j_bottom">
    <a href="{% url 'gma:home' %}">
        <span class="bottom-logo">
           HiBao
       </span>
    </a>
</div>

{% endblock content %}


<!-- SCRIPT
  =====================================================================-->

{% block extra_js %}

{% endblock extra_js %}